<template>
  <div class="search">
    <div class="top">
        <div @click="back" class="spanback"> &lt; </div>
        <search-tab></search-tab>
    </div>
    <div class="loading">
        <van-loading size="24px">该功能尚未完成...</van-loading>
    </div>
  </div>
</template>

<script setup>
    import SearchTab from "@/components/SearchTab/SerachTab.vue"

    import {useRouter} from "vue-router"

    const router = useRouter()

    function back(){
        router.back()
    }
</script>

<style lang="less" scoped>
    .search{
        margin: 30px 0 0 30px;
        color: #999;
        .top {
            display: flex;
            justify-content: space-evenly;
            .spanback {
                width: 20px;
                flex-grow: 0;
                font-size: 20px;
                color: var(--primary-color);
                padding: 10px 0;
            }
        }
        .loading{
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
        }
    }
    
</style>